package com.wwlwxg.jdk.rs.server;

import com.wwlwxg.jdk.rs.bean.User;

import java.util.List;

public class HelloWorldRsImpl implements HelloWorldRs {
    public void saveUser(User user) {
        System.out.println("saveUser:" + user);
    }

    public void updateUser(User user) {
        System.out.println("updateUser:" + user);
    }

    public void deleteUser(Integer id) {
        System.out.println("deleteUser:" + id);
    }

    public List<User> findAllUser() {
        System.out.println("findAllUser");
        return null;
    }

    public User findById(Integer id) {
        System.out.println("findById: " + id);
        return null;
    }
}
